<script setup lang="ts">
/* //1.导入
import { useCounterStore } from './stores/counter';
//2.执行方法得到store实例对象
const counterStore=useCounterStore();
console.log(counterStore); */
import {RouterView } from 'vue-router'
</script>

<template>
  
    <!--  <button @click="counterStore.increment">{{ counterStore.count }}</button>
     {{ counterStore.doubleCount }} -->
<div class="main">
  <RouterView />
</div>
</template>

<style scoped>
.main{
 position: absolute;
 top: 0;
 right: 0;
 bottom: 0;
 left: 0;
 width: 100%;
}
</style>
